<?php
    include_once '../../../../controlador/php/conexion/Conexion10.php';
   $con = new Conexion10();
    
    $select = "SELECT b.OID, b.GASNOMBRE as area_examen FROM GENARESER as b where OID IN (6,7,8,9,10,11,12,14,51,63,90)";
    $res = $con->query($select);
    
    while($res2 = mssql_fetch_array($res)){
        $lista[] = array_map(utf8_encode,$res2);
    }
    
    print_r(json_encode($lista));
    
    $con->cerrarConexion();
?>
